package com.lg.erp.service.impl.zhangkai;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lg.erp.entity.zhangkai.Customer;
import com.lg.erp.entity.zhangkai.Par;
import com.lg.erp.mapper.zhangkai.CustomerMapper;
import com.lg.erp.mapper.zhangkai.ParMapper;
import com.lg.erp.service.zhangkai.ParService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ParServiceImpl extends ServiceImpl<ParMapper, Par> implements ParService {
    @Autowired
    private ParMapper parMapper;
    @Autowired
    private CustomerMapper customerMapper;
    @Override
    public List<Par> conditionQuery(String date1, String date2,String id) {
        List<Par> pars = parMapper.conditionQuery(date1, date2,id);
        return pars;
    }
}
